﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Content;

namespace _XNA__RunningDeath.DTO
{
    class CMap_DTO
    {
        Texture2D _background1; // Nền Map 1
        Texture2D _background2; // Nền Map 2
        Vector2 _toado1;        // Tọa độ của background 1
        Vector2 _toado2;        // Tọa độ của background 2
        Texture2D _canhquang;  // Cảnh Quang
       
        ContentManager _content; // Content
        SpriteBatch _spritebath; // spriteBacth
        GameTime _gametime;     // gameTime
        Dictionary<string, Rectangle> _dstoado;

        public CMap_DTO(ContentManager content, GameTime gameTime, SpriteBatch spriteBatch)
        {
            this._spritebath = spriteBatch;
            this._gametime = gameTime;
            this._content = content;
        }

        #region Set/Get

        public Dictionary<string, Rectangle> Dstoado
        {
            get { return _dstoado; }
            set { _dstoado = value; }
        }
        public Vector2 Toado1
        {
            get { return _toado1; }
            set { _toado1 = value; }
        }
        public Vector2 Toado2
        {
            get { return _toado2; }
            set { _toado2 = value; }
        }
        public GameTime Gametime
        {
            get { return _gametime; }
            set { _gametime = value; }
        }

        public Texture2D Background1
        {
            get { return _background1; }
            set { _background1 = value; }
        }

        public Texture2D Background2
        {
            get { return _background2; }
            set { _background2 = value; }
        }
        public Texture2D Canhquang
        {
            get { return _canhquang; }
            set { _canhquang = value; }
        }
       
       
        public ContentManager Content
        {
            get { return _content; }
            set { _content = value; }
        }
        public SpriteBatch Spritebath
        {
            get { return _spritebath; }
            set { _spritebath = value; }
        }
        #endregion
    }
}
